package cn.buddha.jec.handler.post;

import cn.buddha.jec.flowable.handler.business.IBusinessPostHandler;
import cn.buddha.jec.model.TongBaseRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @ClassName PostFirstHandler
 * @Author 友野浩二
 * @Date 2020/4/21 15:47
 * @Description 业务后置二(组件默认有效)
 * @Version 1.0
 */
@Component
@Slf4j
public class PostSecondHandler implements IBusinessPostHandler {

    @Override
    public void afterExecute(TongBaseRequest tongBaseRequest) {
        log.info("我是你的业务后置二大娘!!!");
    }

    @Override
    public int getOrder() {
        return 1;
    }

    @Override
    public String getComponentName() {
        return "服务流程后置测试二";
    }
}
